<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />



<table id="tblDetailed" cellpadding="0" class="t_css" width="100%"
	border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead >
					<tr style="border:1px solid #B7D1E6">
						
						<th class="TblHead" align="center"  width="10%">序号</th>
						<th class="TblHead" align="center"  width="10%">贷款银行</th> 
						<th class="TblHead" align="center"  width="10%">贷款类别</th> 
				      <th class="TblHead" align="center"  width="10%">贷款金额</th> 
						<th class="TblHead" align="center"  width="15%">贷款合同编号</th>
						<th class="TblHead" align="center"  width="15%">贷款期限（月）</th>   
						<th class="TblHead" align="center"  width="10%">贷款利率%（年）</th>   
						<th class="TblHead" align="center"  width="10%">利息总额</th> 
						<th class="TblHead" align="center"  width="10%">已付利息</th>                    
					</tr>
			</thead>
			<tbody id="tab">
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/credit/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">
							<span name="credit/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td>
							<x:out select="$list/bank" />
						</td>
						<td>
							<x:out select="$list/purchase2_name" />
						</td> 
						
						<td>
							<x:out select="$list/money" />
						</td> 
					
						<td>
							<x:out select="$list/contract" />
						</td>
						
						<td align="center" nowrap>
							<x:out select="$list/loan_term"/>
						</td>
						
						<td>
							<x:out select="$list/interest_rate" />
						</td> 
						<td>
							<x:out select="$list/interest_total" />
						</td> 
						<td>
							<x:out select="$list/interest_already" />
						</td> 
						
					
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblDetailed");
					</script>
				</tbody>
			</table>
			<table   cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;" id="budgetsMsg4">
					
					<tr align="center">	
					
						<td width="30%">一般商业贷款小计</td>
						<td width="10%"><x:out select="$xmlData/data/credit_list/money1" /></td>
						<td width="15%">/</td>
						<td width="15%">/</td>
						<td width="10%">/</td>
						<td width="10%"><x:out select="$xmlData/data/credit_list/money2" /></td>
						<td width="10%"><x:out select="$xmlData/data/credit_list/money3" /></td>
		
					</tr> 
					<tr align="center">
						<td>风险补偿贷款小计</td>
						<td><x:out select="$xmlData/data/credit_list/money4" /></td>
						<td>/</td>
						<td>/</td>
						<td>/</td>
						<td><x:out select="$xmlData/data/credit_list/money5" /></td>
						<td><x:out select="$xmlData/data/credit_list/money6" /></td>
					</tr>
					<tr align="center">
						<td>专利质押贷款小计</td>
						<td><x:out select="$xmlData/data/credit_list/money7" /></td>
						<td>/</td>
						<td>/</td>
						<td>/</td>
						<td><x:out select="$xmlData/data/credit_list/money8" /></td>
						<td><x:out select="$xmlData/data/credit_list/money9" /></td>
					</tr>
				
					<tr align="center">
						<td>合     计</td>
						<td><x:out select="$xmlData/data/credit_list/money10" /></td>
						<td>/</td>
						<td>/</td>
						<td>/</td>
						<td><x:out select="$xmlData/data/credit_list/money11" /></td>
						<td><x:out select="$xmlData/data/credit_list/money12" /></td>
					</tr>
					</table>
					
	&nbsp;&nbsp;&nbsp;&nbsp;${param.beizhu}
